package com.soft.cake.mapper;

import com.soft.cake.pojo.Address;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer addressId);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer addressId);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);
    /**
     * 
     * @author CanLig
     * @date 2019年8月23日 下午3:04:08
     * @version 1.0.0
     * @description 通过订单表中的addressId查询address
     * @TODO
     */
    Address selectByOrderId(Integer orderId);
    
}